package com.zenaprod.framework.log;


import com.zenaprod.framework.date.DateUtil;

import java.util.Date;

public class ZLog {

    public static void e(String message) {
        System.err.println(message.toUpperCase());
    }

    public static void e(Throwable throwable) {
        throwable.printStackTrace();
    }

    public static void e(String message, Throwable throwable) {
        e(message);
        e(throwable);
    }

    public static void i(String message) {
        System.out.println(DateUtil.getStringifiedNow(true) + " - " + message);
    }
}
